package com.zoranjoka.chordis.dao;

import java.io.Serializable;
import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.zoranjoka.chordis.entities.Artist;

public interface ArtistDAO {
	@CommitAfter
	public void save(Artist a);
	@CommitAfter
	public void update(Artist a);
	@CommitAfter
	public void delete(Artist a);
	public Artist findById(Serializable id);
	public List<Artist> getAll();
}
